a {
    color: #777;
}

body {
    font-size: 13px;
    color: #333;
    padding-top: 60px;
    min-width: 1400px;
    font-family: 'Microsoft YaHei UI', 'Microsoft YaHei', 'å¾®è½¯é›…é»‘', "MicrosoftJhengHei", 'åŽæ–‡ç»†é»‘', STHeiti, MingLiu, serif;
}

// 头部样式
.head {
    min-width: 1400px;
    font-family: "Microsoft YaHei UI", "Microsoft YaHei", 微软雅黑, MicrosoftJhengHei, 华文细黑, STHeiti, MingLiu, serif;
    background-color: #FAFAFA;
    opacity: 0.99;
    border-bottom: 1px solid #d3d3d3;
    color: #777;
    margin-bottom: 25px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 38px;
    z-index: 1000;
    box-shadow: 0 0 5px #ccc;
    align-items: center;
    padding: 0 310px;
    font-weight: bold;
    margin-bottom: 30px;

    .logo {
        float: left;
        width: 156px;
        // border: 1px solid red;

        >a {
            display: flex;
            align-items: center;
            color: #666;
            font-size: 20px;
            font-weight: 400;
            line-height: 38px;

            >img {
                width: 40px;
                height: 20px;
            }

            >div {
                margin-left: 4px;
            }
        }
    }

    .list {
        float: left;
        width: 262px;
        height: 38px;
        margin-left: 10px;
        // border: 1px solid red;
        display: flex;
        justify-content: space-between;
        align-items: center;

        >li {
            >a {
                &:hover {
                    color: rgb(68, 68, 68);
                }
            }

        }
    }

    .right {
        float: right;
        width: 216px;
        height: 38px;
        // border: 1px solid red;
        display: flex;
        justify-content: space-around;
        align-items: center;

        >div {
            height: 38px;
            display: flex;
            justify-content: center;
            align-items: center;
            // border: 1px solid red;
        }

        .write {
            width: 80px;
            margin-right: 0px;
        }

        .user {
            margin-left: 16px;
            width: 40px;
        }

        .remind {
            margin-left: 0px;
            width: 80px;
            position: relative;

            &:hover {
                background-color: #fff;
                border-bottom: none;
                box-shadow: 0px 0px 8px rgb(179, 179, 179),
                    0px 0px 8px rgb(179, 179, 179);

                .header-tips {
                    opacity: 1;
                }
            }


            >a {
                >span {
                    border-left: 4px solid transparent;
                    border-right: 4px solid transparent;
                    border-top: 4px solid #666;
                    content: "";
                    display: inline-block;
                    height: 0;
                    vertical-align: top;
                    width: 0;
                    margin-top: 10px;
                }
            }

            .header-tips {
                opacity: 0;
                position: absolute;
                top: 38px;
                left: -80px;
                width: 176px;
                height: 70px;
                background-color: #fff;
                box-shadow: 0 0 8px rgb(179, 179, 179);
                padding: 10px;
                font-size: 13px;
                font-weight: 400;

            }
        }

        .user {
            position: relative;

            >a {
                >span {
                    border-left: 4px solid transparent;
                    border-right: 4px solid transparent;
                    border-top: 4px solid #666;
                    content: "";
                    display: inline-block;
                    height: 0;
                    vertical-align: top;
                    width: 0;
                    margin-top: 10px;
                }
            }

            &:hover {
                background-color: #fff;
                border-bottom: none;
                box-shadow: 0px 0px 8px rgb(179, 179, 179),
                    0px 0px 8px rgb(179, 179, 179);

                .user-tips {
                    opacity: 1;
                }
            }

            .user-tips {
                width: 120px;
                height: 120px;
                padding: 10px;
                line-height: 24px;
                display: flex;
                flex-direction: column;
                position: absolute;
                top: 38px;
                left: -80px;
                background-color: #fff;
                box-shadow: 0 0 8px rgb(179, 179, 179);
                opacity: 0;

                >li {
                    font-weight: 400;
                    color: #000;
                    font-size: 13px;
                }
            }
        }
    }
}

// 主体
.page_main {
    min-height: 400px;
    width: 1110px;
    margin: 0 auto;
    padding: 0 10px;
    // border: 1px solid red;

    .main {
        width: 760px;
        float: left;
        padding-bottom: 60px;
        // border: 1px solid red;

        .page-header {
            font-size: 22px;
            padding: 0 0 7px 0;
            margin-bottom: 10px;
            color: #555;
            font-weight: 400;
        }

        .diarys {
            border-bottom: 1px dashed #d5d5d5;
            margin-bottom: 20px;

            .diary {
                border-top: 1px dashed #d5d5d5;
                padding: 20px 0 5px 0;

                .item {
                    .time {
                        font-size: 14px;
                        margin-bottom: 10px;
                        color: #789;
                    }

                    .content {
                        color: #333;
                        line-height: 1.8em;
                        padding-top: 3px;
                        font-size: 14px;
                        overflow: hidden;
                        font-family: "Lucida Grande",
                            "Lucida Sans Unicode",
                            Helvetica,
                            Arial,
                            Verdana,
                            sans-serif;
                    }

                    .reply {
                        margin: 20px 0 0 0;
                        text-align: right;
                        clear: left;
                    }
                }

            }
        }

        .notebooks {
            margin-left: -14px;

            .notebook {
                display: block;
                float: left;
                width: 178px;
                margin: 0 0 25px 14px;
                color: #999;
                height: 220px;
                border: 1px solid #e5e5e5;
                border-right: none;
                border-bottom: none;
                padding: 0;
                position: relative;
                box-shadow: 1px 1px 1px #999;
                background-color: #f8f8f8;

                &:hover {
                    transform: translate(-1px, -1px);
                    box-shadow: 1px 1px 4px #999;
                }

                .cov {
                    position: relative;
                    display: block;
                    width: 178px;
                    height: 120px;

                    .cover {
                        width: 178px;
                        height: 120px;
                        background-color: #fff;
                    }
                }

                >h3>a {
                    display: table-cell;
                    vertical-align: middle;
                    width: 178px;
                    text-align: center;
                    padding: 15px 5px 5px;
                    color: #333;
                }

                >p {
                    padding: 5px;
                    position: absolute;
                    bottom: 0;
                    left: 0;
                    font-size: 11px;
                    text-align: center;
                    width: 178px;
                }
            }
        }
    }

    .sidebar {
        width: 260px;
        float: right;
        min-height: 300px;
        // border: 1px solid red;
        padding: 0 16px;

        .title-date {
            font-size: 60px;
            line-height: 48px;
            font-family: Arial,
                Helvetica,
                sans-serif;
            color: #555;
            position: relative;
            margin-bottom: 5px;
            text-align: center;

            >span {
                font-size: 30px;
            }

            >b {
                font-size: 14px;
                position: absolute;
                top: -12px;
                right: 16px;
            }
        }

        .user-name {
            margin-top: 10px;

            >a {
                color: rgb(0, 0, 0);
                font-size: 30px;
                line-height: 32px;
                font-weight: 400;
            }
        }

        >p {
            padding: 10px 0;
            font-size: 14px;
        }

        .focus {
            display: inline-block;
            width: 78px;
            height: 22ox;
            padding: 7px 12px;
            border: 1px solid #39E;
            background-color: #39E;
            color: #fff;
            font-size: 13px;
            border-radius: 2px;
        }

        .active {
            display: inline-block;
            width: 78px;
            height: 22ox;
            padding: 7px 12px;
            border: 1px solid #bbb;
            background-color: #bbb;
            color: #fff;
            font-size: 13px;
            border-radius: 2px;
        }
    }
}

.icon {
    width: 180px;
    height: 180px;
    margin-top: 20px;
    margin-bottom: 10px;
}

.footer {
    border-top: 1px solid #d5d5d5;
    border-bottom: 1px solid #d5d5d5;
    padding: 30px 0;
    margin-top: 60px;
    clear: both;
    line-height: 24px;
    color: #777;
    background-color: #fafafa;

    .container {
        width: 960px;
        margin: 0 290px;
        padding: 0 10px;
        font-size: 14px;

        .top {
            float: right;
            padding: 0 5px;
            color: #fff;
            text-decoration: none;
            background-color: #789;
            position: fixed;
            bottom: 10px;
            right: 10px;
        }
    }
}